import request from "@/utils/http";
// 获取详情页面数据
export const reqDetail = (id) => request({ url: '/goods', method: 'get', params: { id } })
// 详情页面-热榜数据
export const reqFetchHotGood = ({ id, type, limit = 3 }) => request({
    url: '/goods/hot',
    method: 'get',
    params: {
        id,
        type,
        limit
    }
})
